<!--js-->
<script type="text/javascript" src="[%$url%]js/float.js"></script>
[%if $call.call_style==1%]
<link href="[%$url%]public/plug/im/sky.css" rel="stylesheet" type="text/css" />
[%/if%]
[%if $call.call_style==2%]
<link href="[%$url%]public/plug/im/green.css" rel="stylesheet" type="text/css" />
[%/if%]
[%if $call.call_style==3%]
<link href="[%$url%]public/plug/im/purple.css" rel="stylesheet" type="text/css" />
[%/if%]
<!--end_js-->
[%if $call.call_type==1%]
<div id="right-float-box" class="im_floatonline">
	<div class="float-box-content">
		<div class="toptitle">
			<div class="btitle">[%$lngpack.call_title%]</div>
		</div>
		<div class="addlist">
			<ul>
				[%forlist from=$array key=i%]
					[%if $array[i].type==1%]
					<li>[%$array[i].name%] <br/> [%$array[i].code%]</li>
					[%elseif $array[i].type==2%]
						[%if $array[i].style==1%]
						<li>[%$array[i].name%] <br/> <a target="_blank" href="http://amos.im.alisoft.com/msg.aw?v=2&uid=[%$array[i].code%]&site=cntaobao&s=1&charset=utf-8" ><img border="0" src="http://amos.im.alisoft.com/online.aw?v=2&uid=[%$array[i].code%]&site=cntaobao&s=1&charset=utf-8"/></a></li>
						[%elseif $array[i].style==2%]
						<li>[%$array[i].name%] <br/> <a target="_blank" href="http://amos.im.alisoft.com/msg.aw?v=2&uid=[%$array[i].code%]&site=cntaobao&s=2&charset=utf-8" ><img border="0" src="http://amos.im.alisoft.com/online.aw?v=2&uid=[%$array[i].code%]&site=cntaobao&s=2&charset=utf-8"/></a></li>
						[%/if%]
					[%elseif $array[i].type==3%]
						[%if $array[i].style==1%]
						<li>[%$array[i].name%] <br/> <a href="skype:[%$array[i].code%]?call"><img src="http://mystatus.skype.com/smallclassic/[%$array[i].code%]"/></a></li>
						[%elseif $array[i].style==2%]
						<li>[%$array[i].name%] <br/> <a href="skype:[%$array[i].code%]?call"><img src="http://mystatus.skype.com/bigclassic/[%$array[i].code%]" width="110"/></a></li>
						[%elseif $array[i].style==3%]
						<li>[%$array[i].name%] <br/> <a href="skype:[%$array[i].code%]?call"><img src="http://mystatus.skype.com/mediumicon/[%$array[i].code%]" />[%$array[i].code%]</a></li>
						[%elseif $array[i].style==4%]
						<li>[%$array[i].name%] <br/> <a href="skype:[%$array[i].code%]?call"><img src="http://mystatus.skype.com/balloon/[%$array[i].code%]"  width="110"/></a></li>
						[%/if%]
					[%elseif $array[i].type==4%]
						<li>[%$array[i].name%] <br/> <a target="_blank" href="http://settings.messenger.live.com/Conversation/IMMe.aspx?invitee=[%$array[i].code%]@apps.messenger.live.com&mkt=zh-cn"><img style="border-style: none;" src="[%$url%]public/plug/im/msn_icon/[%$array[i].style%].gif"/></a></li>
					[%elseif $array[i].type==5%]
						[%if $array[i].style==102%]
						<li>[%$array[i].name%] <br/> <a target="_blank" href="http://amos1.sh1.china.alibaba.com/msg.atc?v=1&uid=[%$array[i].code%]"><img border="0" src="http://amos1.sh1.china.alibaba.com/online.atc?v=1&uid=[%$array[i].code%]&s=102"></a></li>
						[%elseif $array[i].style==101%]
						<li>[%$array[i].name%] <br/> <a target="_blank" href="http://amos1.sh1.china.alibaba.com/msg.atc?v=1&uid=[%$array[i].code%]"><img border="0" src="http://amos1.sh1.china.alibaba.com/online.atc?v=1&uid=[%$array[i].code%]&s=101"></a></li>
						[%elseif $array[i].style==1%]
						<li>[%$array[i].name%] <br/> <a target="_blank" href="http://amos1.sh1.china.alibaba.com/msg.atc?v=1&uid=[%$array[i].code%]"><img border="0" src="http://amos1.sh1.china.alibaba.com/online.atc?v=1&uid=[%$array[i].code%]&s=1"></a></li>
						[%elseif $array[i].style==2%]
						<li>[%$array[i].name%] <br/> <a target="_blank" href="http://amos1.sh1.china.alibaba.com/msg.atc?v=1&uid=[%$array[i].code%]"><img border="0" src="http://amos1.sh1.china.alibaba.com/online.atc?v=1&uid=[%$array[i].code%]&s=2"></a></li>
						[%/if%]
					[%/if%]
				[%/forlist%]
			</ul>
		</div>
		<div class="serverbotton">
			<ul>
				<li class="bottonstyle_red"><a href="[%$memberlink%]">[%$lngpack.call_form_botton%]</a></li>
				<li class="bottonstyle_grup"><a href="[%$bbslink%]">[%$lngpack.call_bbs_botton%]</a></li>
				<li class="bottonstyle_grup"><a onclick="closeim();" href="#">[%$lngpack.close_im%]</a></li>
			</ul>
		</div>
		<div class="bottomline"></div>
	</div>
</div>
[%/if%]
[%if $call.call_type==2%]
<div id="float-bottom" class="im_floatonline">
	<div class="right">
		<div class="ricon"></div>
		<div class="rtitle">[%$lngpack.call_botton%]</div>
	</div>
	<div class="float-box-content">
		<div class="toptitle">
			<div class="btitle">[%$lngpack.call_title%]</div>
		</div>
		<div class="addlist">
			<ul>
				[%forlist from=$array key=i%]
					[%if $array[i].type==1%]
					<li>[%$array[i].name%] <br/> [%$array[i].code%]</li>
					[%elseif $array[i].type==2%]
						[%if $array[i].style==1%]
						<li>[%$array[i].name%] <br/> <a target="_blank" href="http://amos.im.alisoft.com/msg.aw?v=2&uid=[%$array[i].code%]&site=cntaobao&s=1&charset=utf-8" ><img border="0" src="http://amos.im.alisoft.com/online.aw?v=2&uid=[%$array[i].code%]&site=cntaobao&s=1&charset=utf-8"/></a></li>
						[%elseif $array[i].style==2%]
						<li>[%$array[i].name%] <br/> <a target="_blank" href="http://amos.im.alisoft.com/msg.aw?v=2&uid=[%$array[i].code%]&site=cntaobao&s=2&charset=utf-8" ><img border="0" src="http://amos.im.alisoft.com/online.aw?v=2&uid=[%$array[i].code%]&site=cntaobao&s=2&charset=utf-8"/></a></li>
						[%/if%]
					[%elseif $array[i].type==3%]
						[%if $array[i].style==1%]
						<li>[%$array[i].name%] <br/> <a href="skype:[%$array[i].code%]?call"><img src="http://mystatus.skype.com/smallclassic/[%$array[i].code%]"/></a></li>
						[%elseif $array[i].style==2%]
						<li>[%$array[i].name%] <br/> <a href="skype:[%$array[i].code%]?call"><img src="http://mystatus.skype.com/bigclassic/[%$array[i].code%]" width="110"/></a></li>
						[%elseif $array[i].style==3%]
						<li>[%$array[i].name%] <br/> <a href="skype:[%$array[i].code%]?call"><img src="http://mystatus.skype.com/mediumicon/[%$array[i].code%]" />[%$array[i].code%]</a></li>
						[%elseif $array[i].style==4%]
						<li>[%$array[i].name%] <br/> <a href="skype:[%$array[i].code%]?call"><img src="http://mystatus.skype.com/balloon/[%$array[i].code%]"  width="110"/></a></li>
						[%/if%]
					[%elseif $array[i].type==4%]
						<li>[%$array[i].name%] <br/> <a target="_blank" href="http://settings.messenger.live.com/Conversation/IMMe.aspx?invitee=[%$array[i].code%]@apps.messenger.live.com&mkt=zh-cn"><img style="border-style: none;" src="[%$url%]public/plug/im/msn_icon/[%$array[i].style%].gif"/></a></li>
					[%elseif $array[i].type==5%]
						[%if $array[i].style==102%]
						<li>[%$array[i].name%] <br/> <a target="_blank" href="http://amos1.sh1.china.alibaba.com/msg.atc?v=1&uid=[%$array[i].code%]"><img border="0" src="http://amos1.sh1.china.alibaba.com/online.atc?v=1&uid=[%$array[i].code%]&s=102"></a></li>
						[%elseif $array[i].style==101%]
						<li>[%$array[i].name%] <br/> <a target="_blank" href="http://amos1.sh1.china.alibaba.com/msg.atc?v=1&uid=[%$array[i].code%]"><img border="0" src="http://amos1.sh1.china.alibaba.com/online.atc?v=1&uid=[%$array[i].code%]&s=101"></a></li>
						[%elseif $array[i].style==1%]
						<li>[%$array[i].name%] <br/> <a target="_blank" href="http://amos1.sh1.china.alibaba.com/msg.atc?v=1&uid=[%$array[i].code%]"><img border="0" src="http://amos1.sh1.china.alibaba.com/online.atc?v=1&uid=[%$array[i].code%]&s=1"></a></li>
						[%elseif $array[i].style==2%]
						<li>[%$array[i].name%] <br/> <a target="_blank" href="http://amos1.sh1.china.alibaba.com/msg.atc?v=1&uid=[%$array[i].code%]"><img border="0" src="http://amos1.sh1.china.alibaba.com/online.atc?v=1&uid=[%$array[i].code%]&s=2"></a></li>
						[%/if%]
					[%/if%]
				[%/forlist%]
			</ul>
		</div>
		<div class="serverbotton">
			<ul>
				<li class="bottonstyle_red"><a href="[%$memberlink%]">[%$lngpack.call_form_botton%]</a></li>
				<li class="bottonstyle_grup"><a href="[%$bbslink%]">[%$lngpack.call_bbs_botton%]</a></li>
				<li class="bottonstyle_grup"><a onclick="closeim();" href="#">[%$lngpack.close_im%]</a></li>
			</ul>
		</div>
		<div class="bottomline"></div>
	</div>
</div>
[%/if%]
<script type="text/javascript">
	[%if $call.call_type==1%]
	[%if $call.call_position==1%]
	$("#right-float-box").float({position:"lm",delay:500});
	[%else%]
	$("#right-float-box").float({position:"rm",delay:500});
	[%/if%]
	[%/if%]
	[%if $call.call_type==2%]
	$("#float-bottom").float({position:"lm",offset : {left : -136},style:{width:170}});
	$("#float-bottom").hover(function(){
		$(this).float("clearOffset");

	},function(){
		$(this).float("addOffset");
	})
	[%/if%]
</script>